package org.particlethink.handler;

import org.particlethink.entry.PlanStatus;


public class PlanStatusHandler extends BaseEnumHandler<PlanStatus> {
    public PlanStatus fromCode(int code) {
        switch (code) {
            case 1:
                return PlanStatus.UnDisposed;
            case 2:
                return PlanStatus.Submitted;
            case 3:
                return PlanStatus.Discarded;
        }
        return null;
    }
}
